<?
abstract class Database extends PDO
{
	protected $_db;
	
    public function __construct() 
	{
        parent::__construct(
                'mysql:host=' . '192.168.0.10' .
                ';dbname=' . 'camdev',
                'camdev', 
                'juancito', 
                array(
                    PDO::MYSQL_ATTR_INIT_COMMAND => 'SET NAMES ' . 'utf8',
					PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION
                    ));
					
        $this->_db = $this;        
    }
}
	